package org.luxor.commons.rabbitmq.service.pushmessage;

/**
 * 用户信息改变事件
 *
 * @author Mr.Yan  @date 2019/10/18$
 */
public class UserChangeEvent {
    private int userid;
    private String username;

    public UserChangeEvent(int userid, String username) {
        this.userid = userid;
        this.username = username;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "UserChangeEvent{" +
                "userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
